﻿var StarField = function (universe) {

    if (universe == null) {
        throw new Error("An associated universe for the starfield must be specified.");
        return;
    };

    $.extend(this, new UniverseEntity(universe.SizeAndPosition, universe.Name + " starfield"));

    this.UniverseEntityType = UniverseEntityTypes.StarField;

    this.StarCountRange = new Range(100, 200);
    this.StarSizeRange = new Range(1, 5);

};